package com.mjh.zhujianju.dao.base;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.base.CommentEO;
import com.mjh.zhujianju.vo.base.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper extends BaseMapper<CommentEO> {

    /**
     * 查询评论总数
     * @param commentEO
     * @return
     */
    Integer queryCommentTotal(CommentEO commentEO);

    /**
     * 查询所有评论
     * @param commentEO
     * @return
     */
    List<CommentVO> selectCommentList(CommentEO commentEO);

    CommentEO selectCommentSingle(CommentEO commentEO);



}